<div id="side" class="sidebar"><ul id="sidebar">

<?php

/* Load sidebar widget and conditional placement from WPU Options */

	include dirname( __FILE__ ) . '/wpudata/wpuconf.php';

	if (file_exists(dirname( __FILE__ ) . '/wpudata/wpuconf.php') && function_exists('register_sidebar_widget') &&  ($taautoplace == 1)) {  
	
			foreach((explode(',',$tasdwidget)) as $sdw) { 
				$sdw=trim($sdw);
				if ( ${$sdw."_condition"} != '' )  {
					foreach  (${$sdw."_condition"} as $csdw) {
						if ($csdw) { if ($csdw()) { dynamic_sidebar($sdw); }}
					}
				} else { echo "<li style='display: none'>&nbsp;</li>"; }

			} //foreach
				
#	if(is_category('1')) {  dynamic_sidebar('nautica'); }

} else { /* Default Sidebar orders and conditions */ ?>

<?php if (is_home()) { ?>
 
	<?php ta_include('side-searchform.php') ?>
	<?php ta_include('side-cat.php') ?>
	<?php ta_include('side-pages.php') ?>
	<?php ta_include('side-link.php') ?>
	<?php ta_include('side-authorlist.php') ?>
	<?php ta_include('side-meta.php') ?>

<?php } else { ?>
 
	<?php ta_include('side-searchform.php') ?>
	<?php ta_include('side-calendar.php') ?>
	<?php ta_include('side-archives.php') ?>
	<?php ta_include('side-pages.php') ?>
	<?php ta_include('side-meta.php') ?>

<?php } ?><?php } ?>


</ul></div>